<?php
include '../includes/common.php';
use xfyzf\api\controller\WXUOS_Protocol;
$wxuos = new WXUOS_Protocol();
$sql = "SELECT * FROM pay_qrlist WHERE id='894' limit 1";
$qr_row = executeSQLQuery($sql);

// $skey = $wxuos->WXHeartBeat($qr_row['cookie'])['data']['SyncKey'];

var_dump($wxuos->WXHeartBeat($qr_row['cookie']));


exit;
use lib\XFCaptcha;

$XFCaptcha = new XFCaptcha(CaptchaCode);
$XFCaptcha->generateCaptcha();


exit;

$file_path = SYSTEM_ROOT.'auth/code.ini';
$auth = false;
$key = '1234567..';
if (file_exists($file_path)){
    $token = file_get_contents($file_path);
    if(Machine_effect($token,$key))$auth = true;
}

if(!$auth){
    include './2.php';
}else{
    echo 'success';
}

?>